package com.wuliu.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.wuliu.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.wuliu.common.core.domain.BaseEntity;

/**
 * 客户专属业务员对象 bas_cust_user
 *
 * @author realue
 * @date 2023-11-02
 */
@ApiModel
public class BasCustUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    @ApiModelProperty(value = "${comment}")
    private Long id;

    /** bas_cust表id */
    @Excel(name = "bas_cust表id")
    @ApiModelProperty(value = "bas_cust表id")
    private String custId;

    /** sys_applet_user表id */
    @Excel(name = "sys_applet_user表id")
    @ApiModelProperty(value = "sys_applet_user表id")
    private Long userId;

    /** 站点id */
    @Excel(name = "站点id")
    @ApiModelProperty(value = "站点id")
    private Long deptId;

    /** 站点名称 */
    @Excel(name = "站点名称")
    @ApiModelProperty(value = "站点名称")
    private String deptName;

    /** 站点编号 */
    @Excel(name = "站点编号")
    @ApiModelProperty(value = "站点编号")
    private String deptNo;

    /** 用户名称 */
    @Excel(name = "用户名称")
    @ApiModelProperty(value = "用户名称")
    private String userName;

    /** 用户编号 */
    @Excel(name = "用户编号")
    @ApiModelProperty(value = "用户编号")
    private String userNo;

    /** 账套号 */
    @Excel(name = "账套号")
    @ApiModelProperty(value = "账套号")
    private String sysAccount;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setCustId(String custId)
    {
        this.custId = custId;
    }

    public String getCustId()
    {
        return custId;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }
    public void setDeptName(String deptName)
    {
        this.deptName = deptName;
    }

    public String getDeptName()
    {
        return deptName;
    }
    public void setDeptNo(String deptNo)
    {
        this.deptNo = deptNo;
    }

    public String getDeptNo()
    {
        return deptNo;
    }
    public void setUserName(String userName)
    {
        this.userName = userName;
    }

    public String getUserName()
    {
        return userName;
    }
    public void setUserNo(String userNo)
    {
        this.userNo = userNo;
    }

    public String getUserNo()
    {
        return userNo;
    }
    public void setSysAccount(String sysAccount)
    {
        this.sysAccount = sysAccount;
    }

    public String getSysAccount()
    {
        return sysAccount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("custId", getCustId())
                .append("userId", getUserId())
                .append("deptId", getDeptId())
                .append("deptName", getDeptName())
                .append("deptNo", getDeptNo())
                .append("userName", getUserName())
                .append("userNo", getUserNo())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .append("sysAccount", getSysAccount())
                .toString();
    }
}
